package com.sinosoft.ebusiness.domain.elementManage;
// 采用工具 Hibernate Tools 3.2.4.GA (sinosoft version) 生成，请勿手工修改。

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.JoinColumns;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

import com.fasterxml.jackson.annotation.JsonBackReference;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.sinosoft.ebusiness.domain.elementManage.GeProductStepViewitem;

/**
 * POJO类GeProductStepFunction
 */
@Entity
@Table(name = "GE_PRODUCT_STEP_FUNCTION")
@JsonIgnoreProperties(value = {"hibernateLazyInitializer", "handler"})
public class GeProductStepFunction implements java.io.Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -1136852001244420592L;

	/** 属性eventid */
	private String eventid;

	/** 属性geProductStepViewitem */
	private GeProductStepViewitem geProductStepViewitem;

	/** 属性eventtype */
	private String eventtype;

	/** 属性execfunname */
	private String execfunname;

	/** 属性execfun */
	private String execfun;

	/**
	 * 类GeProductStepFunction的默认构造方法
	 */
	public GeProductStepFunction() {
	}

	/**
	 * 属性eventid的getter方法
	 */
	@Id
	@Column(name = "EVENTID")
	@GenericGenerator(name = "UUIDGenerator", strategy = "uuid.hex")
	@GeneratedValue(generator = "UUIDGenerator")
	public String getEventid() {
		return this.eventid;
	}

	/**
	 * 属性eventid的setter方法
	 */
	public void setEventid(String eventid) {
		this.eventid = eventid;
	}


	/**
	 * 属性geProductStepViewitem的getter方法
	 */
	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumns({
			@JoinColumn(name = "ITEMCODE", referencedColumnName = "ITEMCODE"),
			@JoinColumn(name = "GROUPCODE", referencedColumnName = "GROUPCODE"),
			@JoinColumn(name = "PRODUCTCODE", referencedColumnName = "PRODUCTCODE"),
			@JoinColumn(name = "VERSION", referencedColumnName = "VERSION"),
			@JoinColumn(name = "PROCESSCODE", referencedColumnName = "PROCESSCODE") })
	@JsonBackReference
	public GeProductStepViewitem getGeProductStepViewitem() {
		return this.geProductStepViewitem;
	}

	/**
	 * 属性geProductStepViewitem的setter方法
	 */
	public void setGeProductStepViewitem(
			GeProductStepViewitem geProductStepViewitem) {
		this.geProductStepViewitem = geProductStepViewitem;
	}

	/**
	 * 属性eventtype的getter方法
	 */

	@Column(name = "EVENTTYPE")
	public String getEventtype() {
		return this.eventtype;
	}

	/**
	 * 属性eventtype的setter方法
	 */
	public void setEventtype(String eventtype) {
		this.eventtype = eventtype;
	}

	/**
	 * 属性execfunname的getter方法
	 */

	@Column(name = "EXECFUNNAME")
	public String getExecfunname() {
		return this.execfunname;
	}

	/**
	 * 属性execfunname的setter方法
	 */
	public void setExecfunname(String execfunname) {
		this.execfunname = execfunname;
	}

	/**
	 * 属性execfun的getter方法
	 */

	@Column(name = "EXECFUN")
	public String getExecfun() {
		return this.execfun;
	}

	/**
	 * 属性execfun的setter方法
	 */
	public void setExecfun(String execfun) {
		this.execfun = execfun;
	}

}
